package com.iwe3.protal.Enum;

import lombok.Getter;

@Getter
public enum SystemEnum {
    OK(200,"操作成功"),
    SYSTEM_BUSY(10000,"系统繁忙，请稍后重试！"),
    ERROR(10001,"系统错误，请联系客服！"),
    ILLEGAL(10002,"非法访问"),
    LOGIN_ERROR(10003,"登录名或密码错误"),
    RELOGIN(10004,"请重新登录"),
    RESUBMIT(10005,"请勿重复操作");

    private Integer code;
    private String msg;
    SystemEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
